package idea.think;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.MotionEvent;

/**
 * @author kim ji ho
 * 메인 액티비티
 */
public class IT_main extends Activity {
		
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);				
	}	
	
	@Override
	public boolean onTouchEvent(MotionEvent event) {
		menuGo();
		return super.onTouchEvent(event);		
	}
	
	public void menuGo(){
		Intent intent = new Intent(IT_main.this, IT_menu.class);
		intent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
		startActivity(intent);
		finish();
	}
}